home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / qlib205.zip / QLIB.ZIP / H / STRING.H < prev    next >
C/C++ Source or Header  |  1997-06-13  |  2KB  |  57 lines

  1. #ifndef __STRING__
  2. #define __STRING__
  3.  
  4. #include <stddef.h>
  5. #include <mem.h>
  6.  
  7. #define strcmpi stricmp
  8. #define strncmpi strnicmp
  9.  
  10. #ifdef __cplusplus
  11.   extern "C" {
  12. #endif
  13.  
  14. extern char * strcpy(char * s1,char * s2);
  15. extern char * strcat(char * s1,char * s2);
  16. extern size_t strlen(void *);
  17. extern int strcmp(void *,void *);
  18. extern sbyte stricmp(char * s1,char * s2);
  19. extern char * strchr(char * s1,byte c1);
  20. extern dword strcspn(char * s1,char * s2);
  21. extern dword strspn(char * s1,char * s2);
  22. extern char * strdup(char * s1);
  23. extern char * strlwr(char * s1);
  24. extern char * strupr(char * s1);
  25. extern char * strpbrk(char * s1,char * s2);
  26. extern char * strrchr(char * s1,byte c1);
  27. extern char * strrev(char * s1);
  28. extern char * strset(char * s1,byte c1);
  29. extern char * strstr(char * s1,char * s2);
  30. extern char * strtok(char * s1,char * s2);
  31. extern dword strxfrm(char * s1,char * s2,dword siz);
  32.  
  33. extern char * strncpy(char * s1,char * s2,dword siz);
  34. extern char * strncat(char * s1,char * s2,dword siz);
  35. extern sbyte strncmp(char * s1,char * s2,dword siz);
  36. extern sbyte strnicmp(char * s1,char * s2,dword siz);
  37. extern char * strnset(char * s1,byte c1,dword siz);
  38.  
  39. extern dword str2num(char * s1);
  40. extern dword str2numx(char * s1);
  41. extern dword str2numb(char * s1);
  42. extern dword str2numo(char * s1);
  43.  
  44. extern dword _str2num_siz_;   //# of chars that last str2num_* used
  45.  
  46. extern char * num2str(dword a,char * s1,byte rax);
  47. extern char * num2strc(dword a,char * s1,byte rax);
  48. extern char * num2strs(dword a,char * s1,byte rax);
  49. extern char * num2strsc(dword a,char * s1,byte rax);
  50.  
  51. #ifdef __cplusplus
  52.   }
  53. #endif
  54.  
  55. #endif
  56.  
  57.